<div>
<app-form [form]="data"  class="app-formctrl">
        <ng-template let-form>
        <div [hidden]="$activeFormPage !== 'formpage1'"  class="app-form-page">
     <app-form-item [field]="detailsModel.qjname">
    <ng-template let-qjname>
        <ion-item lines="none" [hidden]="!qjname?.visible" class="app-form-item left" style=''>
            <label style="width: 130px;" class="app-form-item-label left" slot="start">
                 请假名称
               <span class="stars" *ngIf="!qjname.isAllowEmpty">*</span>
            </label>
            <div class="app-form-item-editor" style="width:100%;" slot="end">
                <ion-input class="app-form-item-input" [value]="form.qjname" (ionInput)="form.qjname=$event.target.value"  [disabled]="qjname.disabled" ></ion-input>
            </div>
        </ion-item>
    </ng-template>
</app-form-item>

     <app-form-item [field]="detailsModel.sqyy">
    <ng-template let-sqyy>
        <ion-item lines="none" [hidden]="!sqyy?.visible" class="app-form-item left" style=''>
            <label style="width: 130px;" class="app-form-item-label left" slot="start">
                 申请原因
               <span class="stars" *ngIf="!sqyy.isAllowEmpty">*</span>
            </label>
            <div class="app-form-item-editor" style="width:100%;" slot="end">
                <app-textarea labelText="申请原因" [allowEmpty]="sqyy.isAllowEmpty" class="app-form-item-textarea" [(value)]="form.sqyy" [disabled]="sqyy.disabled"  position="LEFT"></app-textarea>
            </div>
        </ion-item>
    </ng-template>
</app-form-item>

</div>

        </ng-template>
    </app-form>
<div>
